{template header}
<div class="bs-docs-example" style="clear:both;">
    <table class="table table-striped">
        <thead>
            <tr>
                <th>标签名</th>
                <th>系统标签</th>
                {loop $boardList $k $v}
                    <th>$v['boardName']</th>
                {/loop}
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            {loop $tagList $k $v}
            <tr>
                <td>{$v['tagName']}</td>
                <td>{if $v['uid'] > 0}<i class="icon-remove"></i>{else}<i class="icon-ok">{/if}</td>
                {loop $boardList $kk $vv}
                <td>{if $v[$vv['boardId']] == 0}<i class="icon-remove">{else}<i class="icon-ok">{/if}</i></td>
                {/loop}
                <td>
                    <a class="btn btn-danger" href="?c=admin&a=delTag&tagId={$v['tagId']}">删除</a>
                    <a class="btn btn-primary" href="?c=admin&a=tagInfo&action=edit&tagId={$v['tagId']}">编辑</a>
                </td>
            </tr>
            {/loop}
        </tbody>
    </table>
</div>
<div class="pagination">
    <ul>
        {$pageStr}
    </ul>
</div>
{template footer}